package com.library.system.modules.notice.struct;

import org.mapstruct.*;
import com.library.system.modules.notice.entity.Notice;
import com.library.system.modules.notice.vo.NoticeVO;
import com.library.system.modules.notice.bo.NoticeInsert;

/**
 * 通知公告表(Notice)对象映射转换
 *
 * @author xyh
 * @since 2023-11-04
 */
@Mapper(componentModel = "spring", nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE)
public interface NoticeStructMapper {
    Notice insertToNotice(NoticeInsert insert);

    NoticeVO noticeToNoticeVO(Notice notice);

}

